home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / masdir54.zip / DEMO.BAT next >
DOS Batch File  |  1990-10-02  |  2KB  |  56 lines

  1. ECHO OFF
  2. IF (%SDL%) == () SET SDL=S
  3. IF (%SDL%) == () GOTO ENVIRON
  4. sdl_get be %A%
  5. Set A=%GET%
  6. DEMOSCR
  7. pause
  8. sdl_get be %A%
  9. ECHO  * * *
  10. ECHO This is the SDL DEMO (Copyright (c) 1987,88 Bob Stephan)
  11. ECHO This demo assumes that the program file SDL.COM is
  12. ECHO available in this directory on this disk, or in one
  13. ECHO of the directories on your current PATH.
  14. ECHO * * *
  15. ECHO It also assumes that SDL.COM is in its default
  16. ECHO configuration as provided on the original distribution
  17. ECHO disk.  If these conditions are not met, it will cause no
  18. ECHO harm, but the displays probably will not correspond with
  19. ECHO the descriptions, and you may see harmless error messages.
  20. ECHO * * *
  21. ECHO When asked a question a simple Return (Enter) will be taken as
  22. ECHO a Y or Yes response.  Pressing Esc will terminate the demo.
  23. ECHO To exit at any point, hold down the Ctrl key and press C
  24. ECHO (Ctrl-C), then answer Y to exit.
  25. ECHO * * *
  26. ECHO If you have a printer on line and loaded with paper,
  27. ECHO we can include actual printing demonstrations.  The printing
  28. ECHO demos will be done on the paper in your printer, and will
  29. ECHO change your Top of Form (TOF) setting, so you will have to
  30. ECHO realign your paper when finished.
  31. ECHO * * *
  32. sdl_get N "Do you want to include printing demos (Y/n)? "
  33. if errorlevel 126 goto end
  34. IF ERRORLEVEL 89 DEMOSDL YES
  35. sdl_get b
  36. ECHO * * *
  37. ECHO You have requested that we not use the printer.  Ok,
  38. ECHO but you will be missing a valuable feature of SDL.
  39. ECHO Please run the printing demo at some time when it
  40. ECHO can use the printer.
  41. ECHO * * *
  42. ECHO Please note!  During the demo you will be given the
  43. ECHO opportunity to press keys to interact with SDL.
  44. ECHO The P, R, I, L, and T keys (in either upper or lower case)
  45. ECHO are the keys that tell SDL to print a directory listing
  46. ECHO if you bring up the print menu by pressing P.
  47. ECHO If you do NOT want to print, please do not press any of
  48. ECHO these keys.  The demo will not try to print if you don't.
  49. ECHO * * *
  50. pause
  51. DEMOSDL NO
  52. :END
  53. menu
  54. :ENVIRON
  55. MENU ENVIRON
  56.